Skip to content

Conversation

@tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Jan 9, 2026

Main optimization is to only deserialize and serialize coverage files once. Tested it locally and it did seem to help.

Should help with #24909

@tgodzik tgodzik requested a review from jchyb January 9, 2026 10:23
Copy link
Contributor

@jchyb jchyb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks great, I've noticed one improvement that could simplify things

@tgodzik tgodzik force-pushed the optimize-coverage branch from f2b1680 to ea5a84b Compare January 9, 2026 15:54
@tgodzik tgodzik force-pushed the optimize-coverage branch from ea5a84b to 556e33e Compare January 9, 2026 15:56
@tgodzik tgodzik requested a review from jchyb January 9, 2026 15:57
@tgodzik tgodzik enabled auto-merge (squash) January 9, 2026 17:16
@tgodzik tgodzik merged commit 26470f6 into scala:main Jan 9, 2026
56 checks passed
@filipwiech
Copy link

@tgodzik This is awesome, thanks! 👍 Do you think it would be possible to backport this to 3.8.1 (probably in time for the RC2)? 🙂

@tgodzik tgodzik deleted the optimize-coverage branch January 10, 2026 08:35
@tgodzik tgodzik added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Jan 10, 2026
@tgodzik
Copy link
Contributor Author

tgodzik commented Jan 10, 2026

I think we can if there is an RC2.

@tgodzik
Copy link
Contributor Author

tgodzik commented Jan 12, 2026

I was worried it was too fast and I broke something, but double checking it seems ok. We should be able to backport

@WojciechMazur WojciechMazur added this to the 3.8.1 milestone Jan 13, 2026
WojciechMazur pushed a commit that referenced this pull request Jan 13, 2026
Main optimization is to only deserialize and serialize coverage files
once. Tested it locally and it did seem to help.

Should  help with #24909
[Cherry-picked 26470f6]
@WojciechMazur WojciechMazur added backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Jan 13, 2026
WojciechMazur added a commit that referenced this pull request Jan 13, 2026
Backports #24925 to the 3.8.1-RC1.

PR submitted by the release tooling.
[skip ci]
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" labels Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:done This PR was successfully backported.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants